package seismosurfer.gui.menu;

import javax.help.CSH;

import com.bbn.openmap.gui.AbstractOpenMapMenu;
import com.bbn.openmap.gui.menu.BackgroundColorMenuItem;
import com.bbn.openmap.gui.menu.MouseModeMenu;
import com.bbn.openmap.gui.menu.ProjectionMenu;
import com.bbn.openmap.gui.menu.ToolPanelToggleMenuItem;

/**
 * This menu creates the MouseModeMenu, ProjectionMenu,
 * BackgroundColorMenuItem, LookAndFeelMenu and
 * ToolPanelToggleMenuItem.
 *
 */
public class SettingsMenu extends AbstractOpenMapMenu {
    
    private static final long serialVersionUID = 7601654010411549481L;

    private String defaultText = "Settings";

    private int defaultMnemonic = 'S';

    public SettingsMenu() {
        super();
        setText(defaultText);
        setMnemonic(defaultMnemonic);

        CSH.setHelpIDString(this, "settingsMenu");

        add(new MouseModeMenu());
        add(new ProjectionMenu());
        add(new BackgroundColorMenuItem());

        addSeparator();

        add(new LookAndFeelMenu());
        add(new ToolPanelToggleMenuItem());
    }

}
